package com.bnz.pojo;


import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@NoArgsConstructor
@AllArgsConstructor
public class Student {
    private int sid;
    private String sname;
    private String sex;
    private int age;
    private String addr;
    private int cid;

    public Student(String sname, String sex, String age, String addr) {
    }

    private void init() {
        System.out.println("student init()...");
    }

    private void destroy() {
        System.out.println("student destroy()...");
    }
}
